GtkImage: Drop support for storing pixbufs
authorAlexander Larsson <alexl@redhat.com>
Mon, 23 Oct 2017 12:47:50 +0000 (14:47 +0200)
committerAlexander Larsson <alexl@redhat.com>
Mon, 23 Oct 2017 13:28:33 +0000 (15:28 +0200)
commit2b194089dd525b74c532fdd95c0ab654ac88d295
treea50d83a1288ac22eb431dda63985b5f9909ea898
parent7ee2ab32b89e34d312cb4138a2832522a28ce9f1
GtkImage: Drop support for storing pixbufs

This drops the pixbuf property and the pixbuf getters. We keep
gtk_image_new/set_from_pixbuf, but these are small helpers that
immediately convert to a surface, and there is no way to later get
back the pixbuf you passed in.

The from file/resource codepaths are also changed to load a surface
instead of a pixbuf.
demos/gtk-demo/images.c
demos/gtk-demo/main.c
docs/reference/gtk/gtk4-sections.txt
gtk/a11y/gtkimageaccessible.c
gtk/gtkimage.c
gtk/gtkimage.h
gtk/gtktoolbutton.c
tests/testimage.c